# frv testcase for mhdsets $s12,$FRk
# mach: all

	.include "../testutils.inc"

	start

	.global mhdsets
mhdsets:
	set_fr_immed	0,fr1
	mhdsets		0,fr1
	test_fr_iimmed	0,fr1
	mhdsets		1,fr1
	test_fr_iimmed	0x00010001,fr1
	mhdsets		0x7ff,fr1
	test_fr_iimmed	0x07ff07ff,fr1
	mhdsets		-2048,fr1
	test_fr_iimmed	0xf800f800,fr1

	pass
